package com.spark.searchservice.service.impl;

import com.spark.searchservice.mapper.PmsProductMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spark.searchservice.service.IPmsProductService;
import com.spark.searchapi.entity.PmsProduct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 商品信息 服务实现类
 * </p>
 * 测试类已测试elasticseach
 * @author fuqiang
 * @since 2020-10-31
 */
@Service
public class PmsProductServiceImpl extends ServiceImpl<PmsProductMapper, PmsProduct> implements IPmsProductService {

    @Autowired
    private ElasticsearchRestTemplate elasticsearchRestTemplate;


    @Override
    public PmsProduct getProduct(String id) {

        return null;
    }
}
